package org.dtrd.modules.evaluation.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;

/**
 * @Author: QR
 * @Date: 2021/9/28-16:14
 */
@ApiModel("糖尿病风险评估量表数据传输对象")
@Data
public class DiabetesDTO {

    @ApiModelProperty(value = "患者ID", required = true)
    private Integer patientId;

    @ApiModelProperty(value = "性别：1-男,2-女", required = true)
    private Integer gender;

    @ApiModelProperty(value = "出生年月日", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birth;

    @ApiModelProperty(value = "身高 cm", required = true)
    private Float height;

    @ApiModelProperty(value = "体重 kg", required = true)
    private Float weight;

    @ApiModelProperty(value = "腰围 cm", required = true)
    private Float waistline;

    @ApiModelProperty(value = "收缩压 mmHg", required = true)
    private Integer pressureSystolic;

    @ApiModelProperty(value = "糖尿病家族史（父母、兄弟姐妹、子女）：1-有,2-无,3-不知道", required = true)
    private Integer diabetesFamily;
}
